Source

interface Source

Represents a source of content to be displayed by the player.

A Source defines the properties and characteristics of a media item or data feed that can be rendered on a display. This interface provides methods to access essential information about the source, such as its identifier, name, type, and associated media file.

Functions

Link copied to clipboard
abstract fun getConditions(): Iterator<out Condition>
Returns an iterator over the conditions associated with this source.
Link copied to clipboard
abstract fun getEndDate(): Date
Returns the date and time when this source expires or is no longer valid.
Link copied to clipboard
abstract fun getFile(): File
Returns a representation of the file associated with this source, if any.
Link copied to clipboard
abstract fun getFlashVars(): String
Returns a string containing FlashVars for Flash-based content.
Link copied to clipboard
abstract fun getId(): String
Returns the unique identifier for this source.
Link copied to clipboard
abstract fun getInterval(): Int
Returns the refresh interval for this source, in seconds.
Link copied to clipboard
abstract fun getMediaFile(): File
Returns the underlying java.io.File object for the media associated with this source.
Link copied to clipboard
abstract fun getName(): String
Returns the human-readable name of this source.
Link copied to clipboard
abstract fun getStartDate(): Date
Returns the date and time when this source becomes active or valid.
Link copied to clipboard
abstract fun getType(): String
Returns the type of this source.
Link copied to clipboard
abstract fun getValue(): String
Returns the primary value or content of this source.